/*
 * @Description: 挂在公共属性、插件在原型上
 */
import * as Fiber from 'fiber';
import directives from './directives';
import { PiniaVuePlugin } from 'pinia';
import globalComponents from './global-components.js';

export default {
  install(Vue) {
    Vue.use(Fiber);
    //挂在API
    //pinia 在vue2要引入此插件
    Vue.use(PiniaVuePlugin);
    //注册指令
    Vue.use(directives);
    //挂载滚动条组件
    Vue.use(globalComponents);
  }
};
